package view.mediator.weapon.bullet
{
	import org.robotlegs.mvcs.StarlingMediator;
	
	import view.component.weapon.bullet.BulletView;
	
	
	/**
	 * BulletView界面中介
	 * @author £iang
	 * 
	 */	
	public class BulletViewMediator extends StarlingMediator
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		/** BulletView界面 */
		[Inject]
		public var bulletView:BulletView;
		
		//-----------------------------
		// properties
		//-----------------------------
		
		//-----------------------------
		// setter&getter
		//-----------------------------
		
		//-----------------------------
		// methods
		//-----------------------------
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		/**
		 * 移除函数 
		 * 
		 */		
		override public function onRemove():void
		{
			bulletView.clearNavi();
			super.onRemove();
		}
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function BulletViewMediator()
		{
			super();
		}
	}
}